

#ifndef _APP_CONFIG_H
#define _APP_CONFIG_H

#include "NUC1xx.h"
#include "Driver\DrvADC.h"
#include "Driver\DrvUART.h"
#include "Driver\DrvGPIO.h"
#include "Driver\DrvRTC.h"
#include "Driver\DrvPDMA.h"
#include "Driver\DrvSYS.h"


//#define OS_EVT U16

void SYS_Config  (void);
void GPIO_Configuration (void);
//void UART_Config (void);
//void LCD_Configuration  (void);
void RTC_Configuration  (void);
void EXIT_Configuration (void);

void DisableRTCInterrupt(void);
void EnableRTCInterrupt	(void);

void uart_printf (char *ptr);
void uart_print_hex (unsigned int dat,char ct);


extern void lcd_init       (void);
extern void lcd_clear      (void);
extern void lcd_putchar    (char c);
extern void set_cursor     (int column, int line);
extern void lcd_print      (char *string);
extern void lcd_bargraph   (int value, int size);
extern void lcd_bargraphXY (int pos_x, int pos_y, int value);
extern void DrvRTC_TickISR(void);
extern void C_Callback(uint32_t u32GpcStatus, uint32_t u32GpdStatus, uint32_t u32GpeStatus);
extern void lcd_inittest (void);
#endif
